const express = require('express');
const { markMessageAsRead } = require('../controllers/messageController');

const router = express.Router();

router.post('/messages/read', markMessageAsRead); // 确保路径正确

module.exports = router; 